/**
 *
 */
package com.ramos.kuaixiao.utils;

import com.ramos.kuaixiao.App;
import com.ramos.kuaixiao.BuildConfig;

public class NetUtils {
    //public static final String ROOT = "http://www.6immm.com/quick-erp";
    //public static final String ROOT = "182.61.22.235/quick-erp";
    public static final String ROOT = BuildConfig.ROOT1;
    public static final String LOGIN = ROOT + "/login.shtml";
    public static final String REGISTER_DEALER = ROOT + "/dealer/regist.shtml";
    public static final String USER_INFO = ROOT + "/user.shtml";
    public static final String USER_PSW = ROOT + "/user/changpwd.shtml";
    public static final String USER_PIC = ROOT + "/user/headPic.shtml";
    public static final String PRODUCT_INFO = ROOT + "/productinfo/getproductinfobycondition.shtml?app=1&pageNow=1&pageNum=20000&status=CHEC&dealerId=";
    //public static final String PRODUCT_WAREHOUSE = ROOT + "/productstock/getstockinfobycondition.shtml?&pageNow=1&pageNum=20000&productStatus=CHEC&dealerId=";
    public static final String PRODUCT_WAREHOUSE = ROOT + "/productstock/getstockinfobycondition.shtml?&pageNow=1&pageNum=1000&dealerId=";
    public static final String PRODUCT_PRICE = ROOT + "/productprice/getallproductpricebycondition.shtml?&pageNow=1&pageNum=40000&dealerId=";
    public static final String PRODUCT_PRICE_TYPE = ROOT + "/pricetype/getpricetypebycondition.shtml?pageNow=1&pageNum=1000&dealerId=";
    public static final String PRODUCT_SECEND_TYPE = ROOT + "/producttype/getsimpleproducttype.shtml?dealerId=";
    public static final String PRODUCT_INFO_ALL = ROOT + "/productbrand/getallproductbrandbydealer.shtml?pageNow=1&pageNum=1000&dealerId=";
    public static final String PRODUCT_INFO_DETAIL = ROOT + "/productinfo/getproductbydealergroupbybrand.shtml?dealerId=";
    public static final String CUSTOMER_ALL_PAGE = ROOT + "/customer/page.shtml?pageSize=20&dealer=";
    public static final String MODIFY_CUSTOMER = ROOT + "/customer.shtml";
    public static final String WARE_HORSE = ROOT + "/storehouse/getstorehosue.shtml?dealer=";
    public static final String SHOP_INFO = ROOT + "/productinfo/getspecificproduct.shtml?";
    public static final String INSERT_ORDER = ROOT + "/productorder/insertsingleorder.shtml";
    public static final String FIND_ORDER = ROOT + "/productorder/getorderbycondition.shtml?pageNum=20&dealerId=";
    public static final String ORDER_DETAIL = ROOT + "/productorder/getorderdetail.shtml?dealerId=test2&orderId=";
    public static final String TODAY_SIGN = ROOT + "/sales-sign.shtml";
    public static final String ADDRESS_CORRECT = ROOT + "/customer-correct.shtml";

    public static final String CUSTOMER_ALL_LOCAL = ROOT + "/customer/find.shtml?dealer=";
    public static final String CUSTOMER_ALL_WITH_USER = ROOT + "/customer/find.shtml?entity=";
    //public static final String CUSTOMER_ALL_WITH_USER = ROOT + "/sale-customer/find.shtml?entity=";
    public static final String CUSTOMER_STORE_ALL_LOCAL = ROOT + "/customer-store/find.shtml?dealer=";
    public static final String CUSTOMER_STORE_WITH_USER = ROOT + "/customer-store/find.shtml?entity=";
    public static final String FIND_ALL_ORDER = ROOT + "/productorder/getorderbycondition.shtml?pageNum=100&pageNow=1&dealerId=";

    public static final String DEPARTMENT_ALL_LOCAL = ROOT + "/department/find.shtml?dealer=";

    public static final String DEALER_ALL_LOCAL = ROOT + "/dealer/find.shtml";

    public static final String CLIENT_ALL_PRICE = ROOT + "/clientpricetype/getallclientpricetype.shtml?dealerId=";

    //public static final String GET_UPDATE_FILE = "http://www.6immm.com/qerp-file/output.json";

    //public static final String GET_UPDATE_CUSTOMER_FILE = "http://www.6immm.com/qerp-file/customer.json";

    public static final String GET_UPDATE_FILE = "http://182.61.60.240:9080/tomcat-docs/output.json";

    public static final String GET_UPDATE_CUSTOMER_FILE = "http://182.61.60.240:9080/tomcat-docs/customer.json";

    public static final String GET_UPDATE_APK = "http://182.61.60.240:9080/tomcat-docs/app.apk";

    public static final String GET_UPDATE_CUSTOMER_APK = "http://182.61.60.240:9080/tomcat-docs/customer.apk";

    //public static final String GET_ZIP = "http://www.6immm.com/dbinfoapp/1/dbinfo.7z";

    //public static final String GET_ZIP =  "http://182.61.60.240:9080/tomcat-docs/dbinfo.7z";
    public static final String GET_ZIP = BuildConfig.ZIP;

    public static final String EMP_BRAND = ROOT + "/empbrand/getmodifieditems.shtml?dealerId=";

    public static final String EMP_STOREHOUSE = ROOT + "/empstorehouse/getmodifieditems.shtml?dealerId=";

    public static final String FIND_MALL_ORDER = ROOT + "/productorder/getorderbycustomerid.shtml?dealerId=";

    public static final String FIND_TOKEN = ROOT + "/productorder/gettokenbyorderid.shtml?dealerId=";

    public static final String BIND_SHOP = ROOT + "/customer/bindUser.shtml";

    public static final String FIND_UID = ROOT + "/customer.shtml?uid=";

    public static final String UPDATE_PAY_STATUS = ROOT + "/productorder/updateepayorderstatus.shtml";

    public static final String PRODUCT_TYPE = ROOT + "/producttype/getmodifyitems.shtml?dealerId=";

    public static final String BRAND_KEYWORD = ROOT + "/productbrand/getmodifiedKeyword.shtml?dealerId=";

    public static final String UPDATE_PRICE_TYPE = ROOT + "/pricetype/getmodifiedpricetype.shtml?dealerId=";

    public static final String UPDATE_PRODUCT_PRICE = ROOT + "/productprice/getmodifiedproductprice.shtml?app=1&dealerId=";

    public static final String UPDATE_STORE_HOUSE = ROOT + "/storehouse/getmodifiedstorehouse.shtml?dealerId=";

    public static final String UPDATE_CUSTOMER_PRICE_TYPE = ROOT + "/pricetype/getmodifiedcustomerpricetype.shtml?dealerId=";

    public static final String UPDATE_CUSTOMER = ROOT + "/customer/page.shtml?pageSize=" + App.PAGE_NUM + "&src=app&entity=";

    public static final String UPDATE_CUSTOMER_STORE = ROOT + "/customer-store/page.shtml?pageSize=" + App.PAGE_NUM + "&src=app&entity=";

    public static final String UPDATE_SALE_CUSTOMER = ROOT + "/sale-customer/page.shtml?pageNum=1&pageSize="+ App.PAGE_NUM +"&src=app&entity=";

    public static final String UPDATE_SALE_CUSTOMER_STORE = ROOT + "/sale-customer-store/page.shtml?pageNum=1&pageSize="+ App.PAGE_NUM +"&src=app&entity=";

    public static final String UPDATE_PRODUCT_BRAND = ROOT + "/productbrand/getmodifiedbrand.shtml?dealerId=";
}
